<!DOCTYPE html>
<html lang=zh>
<head>
    <meta charset="utf-8">
    
    <title>第三十一章：SpringBoot配置文件application.properties参数详解 | 恒宇少年De成长之路</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <meta name="description" content="本章主要是贴出一些SpringBoot相关的配置参数，如果需要修改添加对应的参数配置即可。">
<meta name="keywords" content="SpringBoot">
<meta property="og:type" content="article">
<meta property="og:title" content="第三十一章：SpringBoot配置文件application.properties参数详解">
<meta property="og:url" content="http://blog.yuqiyu.com/spring-boot-chapter-31/index.html">
<meta property="og:site_name" content="恒宇少年De成长之路">
<meta property="og:description" content="本章主要是贴出一些SpringBoot相关的配置参数，如果需要修改添加对应的参数配置即可。">
<meta property="og:locale" content="zh-CN">
<meta property="og:image" content="http://upload-images.jianshu.io/upload_images/4461954-d8d60d6afc93b444.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240">
<meta property="og:updated_time" content="2018-02-21T06:37:47.789Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="第三十一章：SpringBoot配置文件application.properties参数详解">
<meta name="twitter:description" content="本章主要是贴出一些SpringBoot相关的配置参数，如果需要修改添加对应的参数配置即可。">
<meta name="twitter:image" content="http://upload-images.jianshu.io/upload_images/4461954-d8d60d6afc93b444.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240">
    

    
        <link rel="alternate" href="/" title="恒宇少年De成长之路" type="application/atom+xml" />
    

    

    <link rel="stylesheet" href="/libs/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="/libs/open-sans/styles.css">
    <link rel="stylesheet" href="/libs/source-code-pro/styles.css">

    <link rel="stylesheet" href="/css/style.css">

    <script src="/libs/jquery/2.1.3/jquery.min.js"></script>
    
    
        <link rel="stylesheet" href="/libs/lightgallery/css/lightgallery.min.css">
    
    
        <link rel="stylesheet" href="/libs/justified-gallery/justifiedGallery.min.css">
    
    
    
    


</head>

<body>
    <div id="container">
        <header id="header">
    <div id="header-main" class="header-inner">
        <div class="outer">
            <a href="/" id="logo">
                <i class="logo"></i>
                <span class="site-title">恒宇少年De成长之路</span>
            </a>
            <nav id="main-nav">
                
                    <a class="main-nav-link" href="/.">首页</a>
                
                    <a class="main-nav-link" href="/archives">时间轴</a>
                
                    <a class="main-nav-link" href="/categories">文章专题</a>
                
                    <a class="main-nav-link" href="/tags">标签云</a>
                
                    <a class="main-nav-link" href="/about">关于我</a>
                
            </nav>
            
                
                <nav id="sub-nav">
                    <div class="profile" id="profile-nav">
                        <a id="profile-anchor" href="javascript:;">
                            <img class="avatar" src="/css/images/avatar.png" />
                            <i class="fa fa-caret-down"></i>
                        </a>
                    </div>
                </nav>
            
            <div id="search-form-wrap">

    <form class="search-form">
        <input type="text" class="ins-search-input search-form-input" placeholder="搜索" />
        <!--button type="submit" class="search-form-submit"></button-->
    </form>
    <div class="ins-search">
    <div class="ins-search-mask"></div>
    <div class="ins-search-container">
        <div class="ins-input-wrapper">
            <input type="text" class="ins-search-input" placeholder="想要查找什么..." />
            <span class="ins-close ins-selectable"><i class="fa fa-times-circle"></i></span>
        </div>
        <div class="ins-section-wrapper">
            <div class="ins-section-container"></div>
        </div>
    </div>
</div>
<script>
(function (window) {
    var INSIGHT_CONFIG = {
        TRANSLATION: {
            POSTS: '文章',
            PAGES: '页面',
            CATEGORIES: '分类',
            TAGS: '标签',
            UNTITLED: '(未命名)',
        },
        ROOT_URL: '/',
        CONTENT_URL: '/content.json',
    };
    window.INSIGHT_CONFIG = INSIGHT_CONFIG;
})(window);
</script>
<script src="/js/insight.js"></script>

</div>
        </div>
    </div>
    <div id="main-nav-mobile" class="header-sub header-inner">
        <table class="menu outer">
            <tr>
                
                    <td ><a  class="main-nav-link" href="/.">首页</a></td>
                
                    <td ><a  class="main-nav-link" href="/archives">时间轴</a></td>
                
                    <td ><a  class="main-nav-link" href="/categories">文章专题</a></td>
                
                    <td ><a  class="main-nav-link" href="/tags">标签云</a></td>
                
                    <td ><a  class="main-nav-link" href="/about">关于我</a></td>
                
                <td>
                    
    <div class="search-form">
        <input type="text" class="ins-search-input search-form-input" placeholder="搜索" />
    </div>

                </td>
            </tr>
        </table>
    </div>
</header>

        <div class="outer">
            
                

<aside id="profile">
    <div class="inner profile-inner">
        <div class="base-info profile-block">
            <img id="avatar" src="/css/images/avatar.png" />
            <h2 id="name">恒宇少年</h2>
            <h3 id="title">Java软件工程师 &amp; 程序猿</h3>
            <span id="location"><i class="fa fa-map-marker"></i>山东, 济南</span>
            <a id="follow" target="_blank" href="https://www.jianshu.com/u/092df3f77bca">关注我</a>
        </div>
        <div class="article-info profile-block">
            <div class="article-info-block">
                43
                <span>文章</span>
            </div>
            <div class="article-info-block">
                2
                <span>标签</span>
            </div>
        </div>
        
        <div class="profile-block social-links">
            <table>
                <tr>
                    
                    
                    <td>
                        <a href="http://github.com/ppoffice/hexo-theme-icarus" target="_blank" title="github" class=tooltip>
                            <i class="fa fa-github"></i>
                        </a>
                    </td>
                    
                    <td>
                        <a href="/" target="_blank" title="twitter" class=tooltip>
                            <i class="fa fa-twitter"></i>
                        </a>
                    </td>
                    
                    <td>
                        <a href="/" target="_blank" title="facebook" class=tooltip>
                            <i class="fa fa-facebook"></i>
                        </a>
                    </td>
                    
                    <td>
                        <a href="/" target="_blank" title="dribbble" class=tooltip>
                            <i class="fa fa-dribbble"></i>
                        </a>
                    </td>
                    
                    <td>
                        <a href="/" target="_blank" title="rss" class=tooltip>
                            <i class="fa fa-rss"></i>
                        </a>
                    </td>
                    
                </tr>
            </table>
        </div>
        
    </div>
</aside>

            
            <section id="main"><article id="post-spring-boot-chapter-31" class="article article-type-post" itemscope itemprop="blogPost">
    <div class="article-inner">
        
        
            <header class="article-header">
                
    
        <h1 class="article-title" itemprop="name">
            第三十一章：SpringBoot配置文件application.properties参数详解
        </h1>
    

                
                    <div class="article-meta">
                        
    <div class="article-date">
        <i class="fa fa-calendar"></i>
        <a href="/spring-boot-chapter-31/">
            <time datetime="2017-08-19T16:00:00.000Z" itemprop="datePublished">2017-08-20</time>
        </a>
    </div>


                        
    <div class="article-category">
    	<i class="fa fa-folder"></i>
        <a class="article-category-link" href="/categories/SpringBoot-核心技术/">SpringBoot 核心技术</a>
    </div>

                        
    <div class="article-tag">
        <i class="fa fa-tag"></i>
        <a class="tag-link" href="/tags/SpringBoot/">SpringBoot</a>
    </div>

                    </div>
                
            </header>
        
        
        <div class="article-entry" itemprop="articleBody">
        
            
            <p>本章主要是贴出一些<code>SpringBoot</code>相关的配置参数，如果需要修改添加对应的参数配置即可。<br><a id="more"></a></p>
<h1 id="SpringBoot-企业级核心技术学习专题"><a href="#SpringBoot-企业级核心技术学习专题" class="headerlink" title="SpringBoot 企业级核心技术学习专题"></a>SpringBoot 企业级核心技术学习专题</h1><table>
<thead>
<tr>
<th style="text-align:center">专题</th>
<th style="text-align:left">专题名称</th>
<th style="text-align:left">专题描述</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">001</td>
<td style="text-align:left"><a href="http://www.jianshu.com/c/3f69deddbed3" target="_blank" rel="noopener">Spring Boot 核心技术</a></td>
<td style="text-align:left">讲解SpringBoot一些企业级层面的核心组件</td>
</tr>
<tr>
<td style="text-align:center">002</td>
<td style="text-align:left"><a href="https://gitee.com/hengboy/spring-boot-chapter" target="_blank" rel="noopener">Spring Boot 核心技术章节源码</a></td>
<td style="text-align:left">Spring Boot 核心技术简书每一篇文章码云对应源码</td>
</tr>
<tr>
<td style="text-align:center">003</td>
<td style="text-align:left"><a href="http://www.jianshu.com/c/1faac22666e7" target="_blank" rel="noopener">Spring Cloud 核心技术</a></td>
<td style="text-align:left">对Spring Cloud核心技术全面讲解</td>
</tr>
<tr>
<td style="text-align:center">004</td>
<td style="text-align:left"><a href="https://gitee.com/hengboy/spring-cloud-chapter" target="_blank" rel="noopener">Spring Cloud 核心技术章节源码</a></td>
<td style="text-align:left">Spring Cloud 核心技术简书每一篇文章对应源码</td>
</tr>
<tr>
<td style="text-align:center">005</td>
<td style="text-align:left"><a href="http://www.jianshu.com/c/ab4789177827" target="_blank" rel="noopener">QueryDSL 核心技术</a></td>
<td style="text-align:left">全面讲解QueryDSL核心技术以及基于SpringBoot整合SpringDataJPA</td>
</tr>
<tr>
<td style="text-align:center">006</td>
<td style="text-align:left"><a href="http://www.jianshu.com/c/f1b269bb2fd6" target="_blank" rel="noopener">SpringDataJPA 核心技术</a></td>
<td style="text-align:left">全面讲解SpringDataJPA核心技术</td>
</tr>
</tbody>
</table>
<h1 id="application-properties"><a href="#application-properties" class="headerlink" title="application.properties"></a>application.properties</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br><span class="line">91</span><br><span class="line">92</span><br><span class="line">93</span><br><span class="line">94</span><br><span class="line">95</span><br><span class="line">96</span><br><span class="line">97</span><br><span class="line">98</span><br><span class="line">99</span><br><span class="line">100</span><br><span class="line">101</span><br><span class="line">102</span><br><span class="line">103</span><br><span class="line">104</span><br><span class="line">105</span><br><span class="line">106</span><br><span class="line">107</span><br><span class="line">108</span><br><span class="line">109</span><br><span class="line">110</span><br><span class="line">111</span><br><span class="line">112</span><br><span class="line">113</span><br><span class="line">114</span><br><span class="line">115</span><br><span class="line">116</span><br><span class="line">117</span><br><span class="line">118</span><br><span class="line">119</span><br><span class="line">120</span><br><span class="line">121</span><br><span class="line">122</span><br><span class="line">123</span><br><span class="line">124</span><br><span class="line">125</span><br><span class="line">126</span><br><span class="line">127</span><br><span class="line">128</span><br><span class="line">129</span><br><span class="line">130</span><br><span class="line">131</span><br><span class="line">132</span><br><span class="line">133</span><br><span class="line">134</span><br><span class="line">135</span><br><span class="line">136</span><br><span class="line">137</span><br><span class="line">138</span><br><span class="line">139</span><br><span class="line">140</span><br><span class="line">141</span><br><span class="line">142</span><br><span class="line">143</span><br><span class="line">144</span><br><span class="line">145</span><br><span class="line">146</span><br><span class="line">147</span><br><span class="line">148</span><br><span class="line">149</span><br><span class="line">150</span><br><span class="line">151</span><br><span class="line">152</span><br><span class="line">153</span><br><span class="line">154</span><br><span class="line">155</span><br><span class="line">156</span><br><span class="line">157</span><br><span class="line">158</span><br><span class="line">159</span><br><span class="line">160</span><br><span class="line">161</span><br><span class="line">162</span><br><span class="line">163</span><br><span class="line">164</span><br><span class="line">165</span><br><span class="line">166</span><br><span class="line">167</span><br><span class="line">168</span><br><span class="line">169</span><br><span class="line">170</span><br><span class="line">171</span><br><span class="line">172</span><br><span class="line">173</span><br><span class="line">174</span><br><span class="line">175</span><br><span class="line">176</span><br><span class="line">177</span><br><span class="line">178</span><br><span class="line">179</span><br><span class="line">180</span><br><span class="line">181</span><br><span class="line">182</span><br><span class="line">183</span><br><span class="line">184</span><br><span class="line">185</span><br><span class="line">186</span><br><span class="line">187</span><br><span class="line">188</span><br><span class="line">189</span><br><span class="line">190</span><br><span class="line">191</span><br><span class="line">192</span><br><span class="line">193</span><br><span class="line">194</span><br><span class="line">195</span><br><span class="line">196</span><br><span class="line">197</span><br><span class="line">198</span><br><span class="line">199</span><br><span class="line">200</span><br><span class="line">201</span><br><span class="line">202</span><br><span class="line">203</span><br><span class="line">204</span><br><span class="line">205</span><br><span class="line">206</span><br><span class="line">207</span><br><span class="line">208</span><br><span class="line">209</span><br><span class="line">210</span><br><span class="line">211</span><br><span class="line">212</span><br><span class="line">213</span><br><span class="line">214</span><br><span class="line">215</span><br><span class="line">216</span><br><span class="line">217</span><br><span class="line">218</span><br><span class="line">219</span><br><span class="line">220</span><br><span class="line">221</span><br><span class="line">222</span><br><span class="line">223</span><br><span class="line">224</span><br><span class="line">225</span><br><span class="line">226</span><br><span class="line">227</span><br><span class="line">228</span><br><span class="line">229</span><br><span class="line">230</span><br><span class="line">231</span><br><span class="line">232</span><br><span class="line">233</span><br><span class="line">234</span><br><span class="line">235</span><br><span class="line">236</span><br><span class="line">237</span><br><span class="line">238</span><br><span class="line">239</span><br><span class="line">240</span><br><span class="line">241</span><br><span class="line">242</span><br><span class="line">243</span><br><span class="line">244</span><br><span class="line">245</span><br><span class="line">246</span><br><span class="line">247</span><br><span class="line">248</span><br><span class="line">249</span><br><span class="line">250</span><br><span class="line">251</span><br><span class="line">252</span><br><span class="line">253</span><br><span class="line">254</span><br><span class="line">255</span><br><span class="line">256</span><br><span class="line">257</span><br><span class="line">258</span><br><span class="line">259</span><br><span class="line">260</span><br><span class="line">261</span><br><span class="line">262</span><br><span class="line">263</span><br><span class="line">264</span><br><span class="line">265</span><br><span class="line">266</span><br><span class="line">267</span><br><span class="line">268</span><br><span class="line">269</span><br><span class="line">270</span><br><span class="line">271</span><br><span class="line">272</span><br><span class="line">273</span><br><span class="line">274</span><br><span class="line">275</span><br><span class="line">276</span><br><span class="line">277</span><br><span class="line">278</span><br><span class="line">279</span><br><span class="line">280</span><br><span class="line">281</span><br><span class="line">282</span><br><span class="line">283</span><br><span class="line">284</span><br><span class="line">285</span><br><span class="line">286</span><br><span class="line">287</span><br><span class="line">288</span><br><span class="line">289</span><br><span class="line">290</span><br><span class="line">291</span><br><span class="line">292</span><br><span class="line">293</span><br><span class="line">294</span><br><span class="line">295</span><br><span class="line">296</span><br><span class="line">297</span><br><span class="line">298</span><br><span class="line">299</span><br><span class="line">300</span><br><span class="line">301</span><br><span class="line">302</span><br><span class="line">303</span><br><span class="line">304</span><br><span class="line">305</span><br><span class="line">306</span><br><span class="line">307</span><br><span class="line">308</span><br><span class="line">309</span><br><span class="line">310</span><br><span class="line">311</span><br><span class="line">312</span><br><span class="line">313</span><br><span class="line">314</span><br><span class="line">315</span><br><span class="line">316</span><br><span class="line">317</span><br><span class="line">318</span><br><span class="line">319</span><br><span class="line">320</span><br><span class="line">321</span><br><span class="line">322</span><br><span class="line">323</span><br><span class="line">324</span><br><span class="line">325</span><br><span class="line">326</span><br><span class="line">327</span><br><span class="line">328</span><br><span class="line">329</span><br><span class="line">330</span><br><span class="line">331</span><br><span class="line">332</span><br><span class="line">333</span><br><span class="line">334</span><br><span class="line">335</span><br><span class="line">336</span><br><span class="line">337</span><br><span class="line">338</span><br><span class="line">339</span><br><span class="line">340</span><br><span class="line">341</span><br><span class="line">342</span><br><span class="line">343</span><br><span class="line">344</span><br><span class="line">345</span><br><span class="line">346</span><br><span class="line">347</span><br><span class="line">348</span><br><span class="line">349</span><br><span class="line">350</span><br><span class="line">351</span><br><span class="line">352</span><br><span class="line">353</span><br><span class="line">354</span><br><span class="line">355</span><br><span class="line">356</span><br><span class="line">357</span><br><span class="line">358</span><br><span class="line">359</span><br><span class="line">360</span><br><span class="line">361</span><br><span class="line">362</span><br></pre></td><td class="code"><pre><span class="line"># ----------------------------------------</span><br><span class="line"># CORE PROPERTIES</span><br><span class="line"># ----------------------------------------</span><br><span class="line"></span><br><span class="line"># SPRING 相关配置 (ConfigFileApplicationListener)</span><br><span class="line">spring.config.name= # config file name (default to &apos;application&apos;)</span><br><span class="line">spring.config.location= # location of config file</span><br><span class="line"></span><br><span class="line"># profile相关配置</span><br><span class="line">spring.profiles= # comma list of active profiles</span><br><span class="line"></span><br><span class="line"># 系统配置相关参数 (SpringApplication)</span><br><span class="line">spring.main.sources=</span><br><span class="line">spring.main.web-environment= # detect by default</span><br><span class="line">spring.main.show-banner=true</span><br><span class="line">spring.main....= # see class for all properties</span><br><span class="line"></span><br><span class="line"># 日志配置相关参数</span><br><span class="line">logging.path=/var/logs</span><br><span class="line">logging.file=myapp.log</span><br><span class="line">logging.config=</span><br><span class="line"></span><br><span class="line"># IDENTITY (ContextIdApplicationContextInitializer)</span><br><span class="line">spring.application.name=</span><br><span class="line">spring.application.index=</span><br><span class="line"></span><br><span class="line"># tomcat相关配置参数 (ServerProperties)</span><br><span class="line">server.port=8080</span><br><span class="line">server.address= # bind to a specific NIC</span><br><span class="line">server.session-timeout= # session timeout in seconds</span><br><span class="line">server.context-path= # the context path, defaults to &apos;/&apos;</span><br><span class="line">server.servlet-path= # the servlet path, defaults to &apos;/&apos;</span><br><span class="line">server.tomcat.access-log-pattern= # log pattern of the access log</span><br><span class="line">server.tomcat.access-log-enabled=false # is access logging enabled</span><br><span class="line">server.tomcat.protocol-header=x-forwarded-proto # ssl forward headers</span><br><span class="line">server.tomcat.remote-ip-header=x-forwarded-for</span><br><span class="line">server.tomcat.basedir=/tmp # base dir (usually not needed, defaults to tmp)</span><br><span class="line">server.tomcat.background-processor-delay=30; # in seconds</span><br><span class="line">server.tomcat.max-threads = 0 # number of threads in protocol handler</span><br><span class="line">server.tomcat.uri-encoding = UTF-8 # character encoding to use for URL decoding</span><br><span class="line"></span><br><span class="line"># springmvc相关配置参数 (HttpMapperProperties)</span><br><span class="line">http.mappers.json-pretty-print=false # pretty print JSON</span><br><span class="line">http.mappers.json-sort-keys=false # sort keys</span><br><span class="line">spring.mvc.locale= # set fixed locale, e.g. en_UK</span><br><span class="line">spring.mvc.date-format= # set fixed date format, e.g. dd/MM/yyyy</span><br><span class="line">spring.mvc.message-codes-resolver-format= # PREFIX_ERROR_CODE / POSTFIX_ERROR_CODE</span><br><span class="line">spring.view.prefix= # MVC view prefix</span><br><span class="line">spring.view.suffix= # ... and suffix</span><br><span class="line">spring.resources.cache-period= # cache timeouts in headers sent to browser</span><br><span class="line">spring.resources.add-mappings=true # if default mappings should be added</span><br><span class="line"></span><br><span class="line"># thymeleaf相关配置参数 (ThymeleafAutoConfiguration)</span><br><span class="line">spring.thymeleaf.prefix=classpath:/templates/</span><br><span class="line">spring.thymeleaf.suffix=.html</span><br><span class="line">spring.thymeleaf.mode=HTML5</span><br><span class="line">spring.thymeleaf.encoding=UTF-8</span><br><span class="line">spring.thymeleaf.content-type=text/html # ;charset=&lt;encoding&gt; is added</span><br><span class="line">spring.thymeleaf.cache=true # set to false for hot refresh</span><br><span class="line"></span><br><span class="line"># freemark相关配置参数 (FreeMarkerAutoConfiguration)</span><br><span class="line">spring.freemarker.allowRequestOverride=false</span><br><span class="line">spring.freemarker.allowSessionOverride=false</span><br><span class="line">spring.freemarker.cache=true</span><br><span class="line">spring.freemarker.checkTemplateLocation=true</span><br><span class="line">spring.freemarker.contentType=text/html</span><br><span class="line">spring.freemarker.exposeRequestAttributes=false</span><br><span class="line">spring.freemarker.exposeSessionAttributes=false</span><br><span class="line">spring.freemarker.exposeSpringMacroHelpers=false</span><br><span class="line">spring.freemarker.prefix=</span><br><span class="line">spring.freemarker.requestContextAttribute=</span><br><span class="line">spring.freemarker.settings.*=</span><br><span class="line">spring.freemarker.suffix=.ftl</span><br><span class="line">spring.freemarker.templateEncoding=UTF-8</span><br><span class="line">spring.freemarker.templateLoaderPath=classpath:/templates/</span><br><span class="line">spring.freemarker.viewNames= # whitelist of view names that can be resolved</span><br><span class="line"></span><br><span class="line"># groovy模板相关配置参数 (GroovyTemplateAutoConfiguration)</span><br><span class="line">spring.groovy.template.allowRequestOverride=false</span><br><span class="line">spring.groovy.template.allowSessionOverride=false</span><br><span class="line">spring.groovy.template.cache=true</span><br><span class="line">spring.groovy.template.configuration.*= # See Groovy&apos;s TemplateConfiguration</span><br><span class="line">spring.groovy.template.contentType=text/html</span><br><span class="line">spring.groovy.template.prefix=classpath:/templates/</span><br><span class="line">spring.groovy.template.suffix=.tpl</span><br><span class="line">spring.groovy.template.templateEncoding=UTF-8</span><br><span class="line">spring.groovy.template.viewNames= # whitelist of view names that can be resolved</span><br><span class="line"></span><br><span class="line"># velocity模板相关配置参数 (VelocityAutoConfiguration)</span><br><span class="line">spring.velocity.allowRequestOverride=false</span><br><span class="line">spring.velocity.allowSessionOverride=false</span><br><span class="line">spring.velocity.cache=true</span><br><span class="line">spring.velocity.checkTemplateLocation=true</span><br><span class="line">spring.velocity.contentType=text/html</span><br><span class="line">spring.velocity.dateToolAttribute=</span><br><span class="line">spring.velocity.exposeRequestAttributes=false</span><br><span class="line">spring.velocity.exposeSessionAttributes=false</span><br><span class="line">spring.velocity.exposeSpringMacroHelpers=false</span><br><span class="line">spring.velocity.numberToolAttribute=</span><br><span class="line">spring.velocity.prefix=</span><br><span class="line">spring.velocity.properties.*=</span><br><span class="line">spring.velocity.requestContextAttribute=</span><br><span class="line">spring.velocity.resourceLoaderPath=classpath:/templates/</span><br><span class="line">spring.velocity.suffix=.vm</span><br><span class="line">spring.velocity.templateEncoding=UTF-8</span><br><span class="line">spring.velocity.viewNames= # whitelist of view names that can be resolved</span><br><span class="line"></span><br><span class="line"># INTERNATIONALIZATION (MessageSourceAutoConfiguration)</span><br><span class="line">spring.messages.basename=messages</span><br><span class="line">spring.messages.cacheSeconds=-1</span><br><span class="line">spring.messages.encoding=UTF-8</span><br><span class="line"></span><br><span class="line"></span><br><span class="line"># 安全相关配置参数 (SecurityProperties)</span><br><span class="line">security.user.name=user # login username</span><br><span class="line">security.user.password= # login password</span><br><span class="line">security.user.role=USER # role assigned to the user</span><br><span class="line">security.require-ssl=false # advanced settings ...</span><br><span class="line">security.enable-csrf=false</span><br><span class="line">security.basic.enabled=true</span><br><span class="line">security.basic.realm=Spring</span><br><span class="line">security.basic.path= # /**</span><br><span class="line">security.headers.xss=false</span><br><span class="line">security.headers.cache=false</span><br><span class="line">security.headers.frame=false</span><br><span class="line">security.headers.contentType=false</span><br><span class="line">security.headers.hsts=all # none / domain / all</span><br><span class="line">security.sessions=stateless # always / never / if_required / stateless</span><br><span class="line">security.ignored=false</span><br><span class="line"></span><br><span class="line"># 数据源相关配置参数(DataSourceAutoConfiguration &amp; DataSourceProperties)</span><br><span class="line">spring.datasource.name= # name of the data source</span><br><span class="line">spring.datasource.initialize=true # populate using data.sql</span><br><span class="line">spring.datasource.schema= # a schema (DDL) script resource reference</span><br><span class="line">spring.datasource.data= # a data (DML) script resource reference</span><br><span class="line">spring.datasource.platform= # the platform to use in the schema resource (schema-$&#123;platform&#125;.sql)</span><br><span class="line">spring.datasource.continueOnError=false # continue even if can&apos;t be initialized</span><br><span class="line">spring.datasource.separator=; # statement separator in SQL initialization scripts</span><br><span class="line">spring.datasource.driverClassName= # JDBC Settings...</span><br><span class="line">spring.datasource.url=</span><br><span class="line">spring.datasource.username=</span><br><span class="line">spring.datasource.password=</span><br><span class="line">spring.datasource.max-active=100 # Advanced configuration...</span><br><span class="line">spring.datasource.max-idle=8</span><br><span class="line">spring.datasource.min-idle=8</span><br><span class="line">spring.datasource.initial-size=10</span><br><span class="line">spring.datasource.validation-query=</span><br><span class="line">spring.datasource.test-on-borrow=false</span><br><span class="line">spring.datasource.test-on-return=false</span><br><span class="line">spring.datasource.test-while-idle=</span><br><span class="line">spring.datasource.time-between-eviction-runs-millis=</span><br><span class="line">spring.datasource.min-evictable-idle-time-millis=</span><br><span class="line">spring.datasource.max-wait-millis=</span><br><span class="line"></span><br><span class="line"># mongdb相关配置参数 (MongoProperties)</span><br><span class="line">spring.data.mongodb.host= # the db host</span><br><span class="line">spring.data.mongodb.port=27017 # the connection port (defaults to 27107)</span><br><span class="line">spring.data.mongodb.uri=mongodb://localhost/test # connection URL</span><br><span class="line">spring.data.mongo.repositories.enabled=true # if spring data repository support is enabled</span><br><span class="line"></span><br><span class="line"># springDataJPA相关配置参数(JpaBaseConfiguration, HibernateJpaAutoConfiguration)</span><br><span class="line">spring.jpa.properties.*= # properties to set on the JPA connection</span><br><span class="line">spring.jpa.openInView=true</span><br><span class="line">spring.jpa.show-sql=true</span><br><span class="line">spring.jpa.database-platform=</span><br><span class="line">spring.jpa.database=</span><br><span class="line">spring.jpa.generate-ddl=false # ignored by Hibernate, might be useful for other vendors</span><br><span class="line">spring.jpa.hibernate.naming-strategy= # naming classname</span><br><span class="line">spring.jpa.hibernate.ddl-auto= # defaults to create-drop for embedded dbs</span><br><span class="line">spring.data.jpa.repositories.enabled=true # if spring data repository support is enabled</span><br><span class="line"></span><br><span class="line"># solr相关配置参数(SolrProperties&#125;)</span><br><span class="line">spring.data.solr.host=http://127.0.0.1:8983/solr</span><br><span class="line">spring.data.solr.zkHost=</span><br><span class="line">spring.data.solr.repositories.enabled=true # if spring data repository support is enabled</span><br><span class="line"></span><br><span class="line"># elasticsearch相关配置参数(ElasticsearchProperties&#125;)</span><br><span class="line">spring.data.elasticsearch.cluster-name= # The cluster name (defaults to elasticsearch)</span><br><span class="line">spring.data.elasticsearch.cluster-nodes= # The address(es) of the server node (comma-separated; if not specified starts a client node)</span><br><span class="line">spring.data.elasticsearch.local=true # if local mode should be used with client nodes</span><br><span class="line">spring.data.elasticsearch.repositories.enabled=true # if spring data repository support is enabled</span><br><span class="line"></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"># flyway相关配置参数(FlywayProperties)</span><br><span class="line">flyway.locations=classpath:db/migrations # locations of migrations scripts</span><br><span class="line">flyway.schemas= # schemas to update</span><br><span class="line">flyway.initVersion= 1 # version to start migration</span><br><span class="line">flyway.prefix=V</span><br><span class="line">flyway.suffix=.sql</span><br><span class="line">flyway.enabled=true</span><br><span class="line">flyway.url= # JDBC url if you want Flyway to create its own DataSource</span><br><span class="line">flyway.user= # JDBC username if you want Flyway to create its own DataSource</span><br><span class="line">flyway.password= # JDBC password if you want Flyway to create its own DataSource</span><br><span class="line"></span><br><span class="line"># liquibase相关配置参数(LiquibaseProperties)</span><br><span class="line">liquibase.change-log=classpath:/db/changelog/db.changelog-master.yaml</span><br><span class="line">liquibase.contexts= # runtime contexts to use</span><br><span class="line">liquibase.default-schema= # default database schema to use</span><br><span class="line">liquibase.drop-first=false</span><br><span class="line">liquibase.enabled=true</span><br><span class="line"></span><br><span class="line"># JMX</span><br><span class="line">spring.jmx.enabled=true # Expose MBeans from Spring</span><br><span class="line"></span><br><span class="line"># rabbitmq相关配置参数(RabbitProperties)</span><br><span class="line">spring.rabbitmq.host= # connection host</span><br><span class="line">spring.rabbitmq.port= # connection port</span><br><span class="line">spring.rabbitmq.addresses= # connection addresses (e.g. myhost:9999,otherhost:1111)</span><br><span class="line">spring.rabbitmq.username= # login user</span><br><span class="line">spring.rabbitmq.password= # login password</span><br><span class="line">spring.rabbitmq.virtualhost=</span><br><span class="line">spring.rabbitmq.dynamic=</span><br><span class="line"></span><br><span class="line"># redis相关配置参数(RedisProperties)</span><br><span class="line">spring.redis.host=localhost # server host</span><br><span class="line">spring.redis.password= # server password</span><br><span class="line">spring.redis.port=6379 # connection port</span><br><span class="line">spring.redis.pool.max-idle=8 # pool settings ...</span><br><span class="line">spring.redis.pool.min-idle=0</span><br><span class="line">spring.redis.pool.max-active=8</span><br><span class="line">spring.redis.pool.max-wait=-1</span><br><span class="line"></span><br><span class="line"># activemq相关配置参数(ActiveMQProperties)</span><br><span class="line">spring.activemq.broker-url=tcp://localhost:61616 # connection URL</span><br><span class="line">spring.activemq.user=</span><br><span class="line">spring.activemq.password=</span><br><span class="line">spring.activemq.in-memory=true # broker kind to create if no broker-url is specified</span><br><span class="line">spring.activemq.pooled=false</span><br><span class="line"></span><br><span class="line"># hornetq相关配置参数(HornetQProperties)</span><br><span class="line">spring.hornetq.mode= # connection mode (native, embedded)</span><br><span class="line">spring.hornetq.host=localhost # hornetQ host (native mode)</span><br><span class="line">spring.hornetq.port=5445 # hornetQ port (native mode)</span><br><span class="line">spring.hornetq.embedded.enabled=true # if the embedded server is enabled (needs hornetq-jms-server.jar)</span><br><span class="line">spring.hornetq.embedded.serverId= # auto-generated id of the embedded server (integer)</span><br><span class="line">spring.hornetq.embedded.persistent=false # message persistence</span><br><span class="line">spring.hornetq.embedded.data-directory= # location of data content (when persistence is enabled)</span><br><span class="line">spring.hornetq.embedded.queues= # comma separate queues to create on startup</span><br><span class="line">spring.hornetq.embedded.topics= # comma separate topics to create on startup</span><br><span class="line">spring.hornetq.embedded.cluster-password= # customer password (randomly generated by default)</span><br><span class="line"></span><br><span class="line"># JMS (JmsProperties)</span><br><span class="line">spring.jms.pub-sub-domain= # false for queue (default), true for topic</span><br><span class="line"></span><br><span class="line"># springbatch相关配置参数(BatchDatabaseInitializer)</span><br><span class="line">spring.batch.job.names=job1,job2</span><br><span class="line">spring.batch.job.enabled=true</span><br><span class="line">spring.batch.initializer.enabled=true</span><br><span class="line">spring.batch.schema= # batch schema to load</span><br><span class="line"></span><br><span class="line"># aop相关配置参数</span><br><span class="line">spring.aop.auto=</span><br><span class="line">spring.aop.proxy-target-class=</span><br><span class="line"></span><br><span class="line"># FILE ENCODING (FileEncodingApplicationListener)</span><br><span class="line">spring.mandatory-file-encoding=false</span><br><span class="line"></span><br><span class="line"># SPRING SOCIAL (SocialWebAutoConfiguration)</span><br><span class="line">spring.social.auto-connection-views=true # Set to true for default connection views or false if you provide your own</span><br><span class="line"></span><br><span class="line"># SPRING SOCIAL FACEBOOK (FacebookAutoConfiguration)</span><br><span class="line">spring.social.facebook.app-id= # your application&apos;s Facebook App ID</span><br><span class="line">spring.social.facebook.app-secret= # your application&apos;s Facebook App Secret</span><br><span class="line"></span><br><span class="line"># SPRING SOCIAL LINKEDIN (LinkedInAutoConfiguration)</span><br><span class="line">spring.social.linkedin.app-id= # your application&apos;s LinkedIn App ID</span><br><span class="line">spring.social.linkedin.app-secret= # your application&apos;s LinkedIn App Secret</span><br><span class="line"></span><br><span class="line"># SPRING SOCIAL TWITTER (TwitterAutoConfiguration)</span><br><span class="line">spring.social.twitter.app-id= # your application&apos;s Twitter App ID</span><br><span class="line">spring.social.twitter.app-secret= # your application&apos;s Twitter App Secret</span><br><span class="line"></span><br><span class="line"># SPRING MOBILE SITE PREFERENCE (SitePreferenceAutoConfiguration)</span><br><span class="line">spring.mobile.sitepreference.enabled=true # enabled by default</span><br><span class="line"></span><br><span class="line"># SPRING MOBILE DEVICE VIEWS (DeviceDelegatingViewResolverAutoConfiguration)</span><br><span class="line">spring.mobile.devicedelegatingviewresolver.enabled=true # disabled by default</span><br><span class="line">spring.mobile.devicedelegatingviewresolver.normalPrefix=</span><br><span class="line">spring.mobile.devicedelegatingviewresolver.normalSuffix=</span><br><span class="line">spring.mobile.devicedelegatingviewresolver.mobilePrefix=mobile/</span><br><span class="line">spring.mobile.devicedelegatingviewresolver.mobileSuffix=</span><br><span class="line">spring.mobile.devicedelegatingviewresolver.tabletPrefix=tablet/</span><br><span class="line">spring.mobile.devicedelegatingviewresolver.tabletSuffix=</span><br><span class="line"></span><br><span class="line"># ----------------------------------------</span><br><span class="line"># ACTUATOR PROPERTIES</span><br><span class="line"># ----------------------------------------</span><br><span class="line"></span><br><span class="line"># MANAGEMENT HTTP SERVER (ManagementServerProperties)</span><br><span class="line">management.port= # defaults to &apos;server.port&apos;</span><br><span class="line">management.address= # bind to a specific NIC</span><br><span class="line">management.contextPath= # default to &apos;/&apos;</span><br><span class="line"></span><br><span class="line"># ENDPOINTS (AbstractEndpoint subclasses)</span><br><span class="line">endpoints.autoconfig.id=autoconfig</span><br><span class="line">endpoints.autoconfig.sensitive=true</span><br><span class="line">endpoints.autoconfig.enabled=true</span><br><span class="line">endpoints.beans.id=beans</span><br><span class="line">endpoints.beans.sensitive=true</span><br><span class="line">endpoints.beans.enabled=true</span><br><span class="line">endpoints.configprops.id=configprops</span><br><span class="line">endpoints.configprops.sensitive=true</span><br><span class="line">endpoints.configprops.enabled=true</span><br><span class="line">endpoints.configprops.keys-to-sanitize=password,secret</span><br><span class="line">endpoints.dump.id=dump</span><br><span class="line">endpoints.dump.sensitive=true</span><br><span class="line">endpoints.dump.enabled=true</span><br><span class="line">endpoints.env.id=env</span><br><span class="line">endpoints.env.sensitive=true</span><br><span class="line">endpoints.env.enabled=true</span><br><span class="line">endpoints.health.id=health</span><br><span class="line">endpoints.health.sensitive=false</span><br><span class="line">endpoints.health.enabled=true</span><br><span class="line">endpoints.info.id=info</span><br><span class="line">endpoints.info.sensitive=false</span><br><span class="line">endpoints.info.enabled=true</span><br><span class="line">endpoints.metrics.id=metrics</span><br><span class="line">endpoints.metrics.sensitive=true</span><br><span class="line">endpoints.metrics.enabled=true</span><br><span class="line">endpoints.shutdown.id=shutdown</span><br><span class="line">endpoints.shutdown.sensitive=true</span><br><span class="line">endpoints.shutdown.enabled=false</span><br><span class="line">endpoints.trace.id=trace</span><br><span class="line">endpoints.trace.sensitive=true</span><br><span class="line">endpoints.trace.enabled=true</span><br><span class="line"></span><br><span class="line"># MVC ONLY ENDPOINTS</span><br><span class="line">endpoints.jolokia.path=jolokia</span><br><span class="line">endpoints.jolokia.sensitive=true</span><br><span class="line">endpoints.jolokia.enabled=true # when using Jolokia</span><br><span class="line">endpoints.error.path=/error</span><br><span class="line"></span><br><span class="line"># JMX ENDPOINT (EndpointMBeanExportProperties)</span><br><span class="line">endpoints.jmx.enabled=true</span><br><span class="line">endpoints.jmx.domain= # the JMX domain, defaults to &apos;org.springboot&apos;</span><br><span class="line">endpoints.jmx.unique-names=false</span><br><span class="line">endpoints.jmx.enabled=true</span><br><span class="line">endpoints.jmx.staticNames=</span><br><span class="line"></span><br><span class="line"># JOLOKIA (JolokiaProperties)</span><br><span class="line">jolokia.config.*= # See Jolokia manual</span><br><span class="line"></span><br><span class="line"># REMOTE SHELL</span><br><span class="line">shell.auth=simple # jaas, key, simple, spring</span><br><span class="line">shell.command-refresh-interval=-1</span><br><span class="line">shell.command-path-pattern= # classpath*:/commands/**, classpath*:/crash/commands/**</span><br><span class="line">shell.config-path-patterns= # classpath*:/crash/*</span><br><span class="line">shell.disabled-plugins=false # don&apos;t expose plugins</span><br><span class="line">shell.ssh.enabled= # ssh settings ...</span><br><span class="line">shell.ssh.keyPath=</span><br><span class="line">shell.ssh.port=</span><br><span class="line">shell.telnet.enabled= # telnet settings ...</span><br><span class="line">shell.telnet.port=</span><br><span class="line">shell.auth.jaas.domain= # authentication settings ...</span><br><span class="line">shell.auth.key.path=</span><br><span class="line">shell.auth.simple.user.name=</span><br><span class="line">shell.auth.simple.user.password=</span><br><span class="line">shell.auth.spring.roles=</span><br><span class="line"></span><br><span class="line"># GIT INFO</span><br><span class="line">spring.git.properties= # resource ref to generated git info properties file</span><br></pre></td></tr></table></figure>
<p>SpringBoot配套源码地址：<a href="https://gitee.com/hengboy/spring-boot-chapter" target="_blank" rel="noopener">https://gitee.com/hengboy/spring-boot-chapter</a><br>SpringCloud配套源码地址：<a href="https://gitee.com/hengboy/spring-cloud-chapter" target="_blank" rel="noopener">https://gitee.com/hengboy/spring-cloud-chapter</a><br>SpringBoot相关系列文章请访问：<a href="http://www.jianshu.com/p/9a08417e4e84" target="_blank" rel="noopener">目录：SpringBoot学习目录</a><br>QueryDSL相关系列文章请访问：<a href="http://www.jianshu.com/p/99a5ec5c3bd5" target="_blank" rel="noopener">QueryDSL通用查询框架学习目录</a><br>SpringDataJPA相关系列文章请访问：<a href="http://www.jianshu.com/p/615ed9c1fe84" target="_blank" rel="noopener">目录：SpringDataJPA学习目录</a><br>感谢阅读！<br>欢迎加入QQ技术交流群，共同进步。<br><img src="http://upload-images.jianshu.io/upload_images/4461954-d8d60d6afc93b444.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="">QQ技术交流群</p>

        
        </div>
        <footer class="article-footer">
            <div class="share-container">


    <div class="bdsharebuttonbox">
    <a href="#" class="bds_more" data-cmd="more">分享到：</a>
    <a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间">QQ空间</a>
    <a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博">新浪微博</a>
    <a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博">腾讯微博</a>
    <a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网">人人网</a>
    <a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信">微信</a>
</div>
<script>
window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{"bdSize":16}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
</script>
<style>
    .bdshare_popup_box {
        border-radius: 4px;
        border: #e1e1e1 solid 1px;
    }
    .bdshare-button-style0-16 a,
    .bdshare-button-style0-16 .bds_more {
        padding-left: 20px;
        margin: 6px 10px 6px 0;
    }
    .bdshare_dialog_list a,
    .bdshare_popup_list a,
    .bdshare_popup_bottom a {
        font-family: 'Microsoft Yahei';
    }
    .bdshare_popup_top {
        display: none;
    }
    .bdshare_popup_bottom {
        height: auto;
        padding: 5px;
    }
</style>


</div>

            
    

        </footer>
    </div>
    
        
<nav id="article-nav">
    
        <a href="/spring-boot-chapter-32/" id="article-nav-newer" class="article-nav-link-wrap">
            <strong class="article-nav-caption">上一篇</strong>
            <div class="article-nav-title">
                
                    第三十二章：如何获取SpringBoot项目的applicationContext对象
                
            </div>
        </a>
    
    
        <a href="/spring-boot-chapter-30/" id="article-nav-older" class="article-nav-link-wrap">
            <strong class="article-nav-caption">下一篇</strong>
            <div class="article-nav-title">第三十章：SpringBoot使用MapStruct自动映射DTO</div>
        </a>
    
</nav>


    
</article>


    
    

</section>
            
			
				
<aside id="sidebar">
   
        
    <div class="widget-wrap">
        <h3 class="widget-title">最新文章</h3>
        <div class="widget">
            <ul id="recent-post" class="no-thumbnail">
                
                    <li>
                        
                        <div class="item-inner">
                            <p class="item-category"><a class="article-category-link" href="/categories/SpringBoot-核心技术/">SpringBoot 核心技术</a></p>
                            <p class="item-title"><a href="/spring-boot-chapter-52/" class="title">第五十二章：基于SpringBoot2使用Rest访问MongoDB数据</a></p>
                            <p class="item-date"><time datetime="2018-04-21T16:00:00.000Z" itemprop="datePublished">2018-04-22</time></p>
                        </div>
                    </li>
                
                    <li>
                        
                        <div class="item-inner">
                            <p class="item-category"><a class="article-category-link" href="/categories/SpringBoot-核心技术/">SpringBoot 核心技术</a></p>
                            <p class="item-title"><a href="/spring-boot-chapter-51/" class="title">第五十一章：基于SpringBoot2 &amp; MongoDB完成自动化集成</a></p>
                            <p class="item-date"><time datetime="2018-04-15T16:00:00.000Z" itemprop="datePublished">2018-04-16</time></p>
                        </div>
                    </li>
                
                    <li>
                        
                        <div class="item-inner">
                            <p class="item-category"><a class="article-category-link" href="/categories/SpringBoot-核心技术/">SpringBoot 核心技术</a></p>
                            <p class="item-title"><a href="/spring-boot-chapter-50/" class="title">第五十章：SpringBoot2.0新特性 - 岂止至今最简单redis缓存集成</a></p>
                            <p class="item-date"><time datetime="2018-04-14T16:00:00.000Z" itemprop="datePublished">2018-04-15</time></p>
                        </div>
                    </li>
                
                    <li>
                        
                        <div class="item-inner">
                            <p class="item-category"><a class="article-category-link" href="/categories/SpringBoot-核心技术/">SpringBoot 核心技术</a></p>
                            <p class="item-title"><a href="/spring-boot-chapter-49/" class="title">第四十九章：SpringBoot2.0新特性 - 你get到WebMvcConfigurer两种配置方式了吗？</a></p>
                            <p class="item-date"><time datetime="2018-03-16T16:00:00.000Z" itemprop="datePublished">2018-03-17</time></p>
                        </div>
                    </li>
                
                    <li>
                        
                        <div class="item-inner">
                            <p class="item-category"><a class="article-category-link" href="/categories/SpringBoot-核心技术/">SpringBoot 核心技术</a></p>
                            <p class="item-title"><a href="/spring-boot-chapter-48/" class="title">第四十八章：SpringBoot2.0新特性 - RabbitMQ信任package设置</a></p>
                            <p class="item-date"><time datetime="2018-03-12T16:00:00.000Z" itemprop="datePublished">2018-03-13</time></p>
                        </div>
                    </li>
                
            </ul>
        </div>
    </div>

    
        
    <div class="widget-wrap">
        <h3 class="widget-title">分类</h3>
        <div class="widget">
            <ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/QueryDSL-核心技术/">QueryDSL 核心技术</a><span class="category-list-count">7</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/SpringBoot-核心技术/">SpringBoot 核心技术</a><span class="category-list-count">36</span></li></ul>
        </div>
    </div>

    
        
    <div class="widget-wrap">
        <h3 class="widget-title">归档</h3>
        <div class="widget">
            <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">四月 2018</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/03/">三月 2018</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/01/">一月 2018</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/12/">十二月 2017</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/11/">十一月 2017</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/10/">十月 2017</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/09/">九月 2017</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/08/">八月 2017</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/07/">七月 2017</a><span class="archive-list-count">9</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/06/">六月 2017</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/05/">五月 2017</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/04/">四月 2017</a><span class="archive-list-count">5</span></li></ul>
        </div>
    </div>

    
        
    <div class="widget-wrap">
        <h3 class="widget-title">标签</h3>
        <div class="widget">
            <ul class="tag-list"><li class="tag-list-item"><a class="tag-list-link" href="/tags/QueryDSL/">QueryDSL</a><span class="tag-list-count">7</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/SpringBoot/">SpringBoot</a><span class="tag-list-count">43</span></li></ul>
        </div>
    </div>

    
        
    <div class="widget-wrap">
        <h3 class="widget-title">标签云</h3>
        <div class="widget tagcloud">
            <a href="/tags/QueryDSL/" style="font-size: 10px;">QueryDSL</a> <a href="/tags/SpringBoot/" style="font-size: 20px;">SpringBoot</a>
        </div>
    </div>

    
        
    <div class="widget-wrap widget-list">
        <h3 class="widget-title">链接</h3>
        <div class="widget">
            <ul>
                
                    <li>
     				<a href="http://hexo.io" target="_blank">Hexo</a>
					</li>
                
            </ul>
        </div>
    </div>


    
    <div id="toTop" class="fa fa-angle-up"></div>
</aside>

				
        </div>
        <!--引入不蒜子-->
<script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<footer id="footer">
    <div class="outer">
        <div id="footer-info" class="inner">
            <span  id="busuanzi_container_site_pv">本站总访问量<span id="busuanzi_value_site_pv"></span>次</span>
            &copy; 2017 - 2018 恒宇少年 - 版权所有<br>
        </div>
    </div>
</footer>

        


    
        <script src="/libs/lightgallery/js/lightgallery.min.js"></script>
        <script src="/libs/lightgallery/js/lg-thumbnail.min.js"></script>
        <script src="/libs/lightgallery/js/lg-pager.min.js"></script>
        <script src="/libs/lightgallery/js/lg-autoplay.min.js"></script>
        <script src="/libs/lightgallery/js/lg-fullscreen.min.js"></script>
        <script src="/libs/lightgallery/js/lg-zoom.min.js"></script>
        <script src="/libs/lightgallery/js/lg-hash.min.js"></script>
        <script src="/libs/lightgallery/js/lg-share.min.js"></script>
        <script src="/libs/lightgallery/js/lg-video.min.js"></script>
    
    
        <script src="/libs/justified-gallery/jquery.justifiedGallery.min.js"></script>
    
    



<!-- Custom Scripts -->
<script src="/js/main.js"></script>

    </div>
</body>
</html>